/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package servergui;

import java.io.IOException;
import java.io.ObjectOutputStream;

/**
 *
 * @author Backkom
 */
class AlertMaintain implements Runnable {

    ObjectOutputStream oos;

    AlertMaintain(ObjectOutputStream os) {
        oos = os;
    }

    @Override
    public void run() {
        try {
            oos.writeObject(PackageCreate.getMaintainPK("Server is maintained!"));
            oos.flush();
        } catch (IOException ex) {
        }

    }
}
